package org.BooCrack.bookstore.model.entity.custom;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.Map;

/**
 * 购物车实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cart {

    private Map<Integer, CartItem> cartItems = new HashMap<>();

    private double total;
}
